import { message } from 'ant-design-vue'
message.config({
  top: '200px',
  duration: 4,
  maxCount: 4
})

export default {
  success: (title: string) => {
    message.success(title)
  },
  error: (title:string) => {
    message.error(title)
  },
  warning: (title:string) => {
    message.warning(title)
  }
}
